package net.chowda.castcluster;

import java.util.List;
import java.util.ArrayList;

/**
 * a video source encapsulates some number of videos and some details about the source
 * like its name/title and description.
 *
 */
public class VideoSource {
    protected String url;
    protected String ccUrl;
    protected String name;
    protected String description;
    protected List<Video> videos = new ArrayList<Video>();
    protected VideoProvider provider = null;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCcUrl() {
        return ccUrl;
    }

    public void setCcUrl(String ccUrl) {
        this.ccUrl = ccUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Video> getVideos() {
        return videos;
    }

    public void setVideos(List<Video> videos) {
        this.videos = videos;
    }

    public VideoProvider getProvider() {
        return provider;
    }

    public void setProvider(VideoProvider provider) {
        this.provider = provider;
    }
}
